OnToolCallStartEvent

data class OnToolCallStartEvent(val toolCallId: String, val toolName: String, val input: JsonElement, val stepNumber: Int, val messages: List<ModelMessage>)

Fired immediately before a tool's executor runs. Carries the parsed tool call envelope and the messages-list snapshot so observers can record context (e.g. for tracing).

Constructors

Link copied to clipboard
constructor(toolCallId: String, toolName: String, input: JsonElement, stepNumber: Int, messages: List<ModelMessage>)

Properties

Link copied to clipboard
val input: JsonElement
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard